package com.gitee.wsl.doc.prosemirror.model.mark.ext

import com.gitee.wsl.doc.prosemirror.model.mark.Mark

typealias Marks = List<Mark>

fun Marks.sortByType(): Marks {
    return this.sortedBy { it.type.rank }
}

